<template>
	<div>
		<!-- 活动的标记 -->
		<div class="iconBox" v-if="type=='1'">
			<span class="tag" v-if="acType==1">折扣</span>
			<span class="tag" v-if="acType==2">拼团</span>
			<span class="tag" v-if="acType==3">秒杀</span>
			<span class="tag" v-if="acType==7">满减</span>
			<span class="tag" v-if="acType==8">满赠</span>
			<span class="tag" v-if="acType==9">满折</span>	
			<span  v-if="acType==0"></span>
		</div>

	</div>
</template>
<script>
	export default {
		props: {
			acType: {
				type: Number,
				default: 2
			},
			type:{
				type: String,
				default: "1"//1是icon标记2是单选附属活动
			},
			gooddata:{
				type: Object,
				default () {
					return {}
				}	
			},
			current:{
				type: String,
				default: ""//默认选择的一项
			},
			
		},
		data(){
			return{	
				deputyAcitem:{},//选中的附属活动
				goodsData:{},//商品的信息
			}
		},
		methods:{
			radioChange(item){
				this.deputyAcitem=item
			},
			activityChange(){
				this.$emit("radioClick",this.deputyAcitem)	
			}	
		}
		}
</script>

<style lang="scss">
	.iconBox{
		font-size:10px;
		.tag{
			font-size: 10px;
			color: #fa436a;
			margin-right: 2px;
			background: #fff0fb;
			border-radius: 2px;
			padding: 2px 3px;
			white-space: nowrap;
		}
	}
</style>
